#ifndef _OC_VOLUME_META_H__
#define _OC_VOLUME_META_H__

#include "VolumeDef.h"
#include "OCMain/ColourValue.h"
#include "OCMain/OCMath.h"
#include "OCMain/Rectangle.h"
#include "OCMain/StringUtil.h"
#include "json/json.h"

namespace OCPP
{
    namespace Volume
    {
        class _volumeExport CVolumeMeta
        {
        public:
            CVolumeMeta();
            ~CVolumeMeta();
            
            void setSize(float width, float height, float depth);
            void setPosition(float x, float y, float z = 0.0);
            void setSourceFormat(int format, int type);
            void setSource(int width, int height, int depth);
            void setExtent(CRectangle extent);
            void setExtent(float west, float south, float east, float north);
            String toString();
            Json::Value& getJson() { return mRoot; }
        private:
            Json::Value     mRoot;
        };
    }
}



#endif // !_OC_VOLUME_OBJECT_H__



